package org.rambadger.command.view;

import com.yammer.dropwizard.auth.Auth;
import com.yammer.dropwizard.views.View;
import org.rambadger.command.auth.AuthUser;

public class RegisterPlatformForm extends View {
    String title = ": Admin Panel";
    boolean area_admin = true;
    boolean hasAdmin = false;

    public RegisterPlatformForm(@Auth(required = false) AuthUser user) {
        super("/registerPlatform.mustache");
        if (user!=null)
        this.hasAdmin = user.hasAdmin();
    }
}
